﻿<!DOCTYPE HTML>
<html xmlns:th="http://www.w3.org/1999/xhtml">
<head th:include="include :: head('错误页面')"></head>
<link rel="stylesheet" type="text/css" th:href="@{/css/yadmin.css}" />
<body>
<div class="layui-fluid">
  <div class="lay-error-tips">
    <i class="layui-icon" face>&#xe664;</i>
    <div class="layui-text" style="font-size: 20px;">
      好像出错了呢
    </div>
  </div>
</div>
<input type="hidden" id="tips" th:value="${tips}" />
</body>
<script>
layui.use(['jquery', 'layer'], function () {
    var layer = layui.layer, $ = layui.jquery,errorMsg = $("#tips").val();
    if (errorMsg) {
        layer.msg(errorMsg, {icon: 5});
    }
});
</script>
</html>